package com.rajaev.dtu.tractor.infrastructure.annotations;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface SNotiCollectionField {

    @AliasFor("idPrefix")
    String value() default "";

    Type type() ;

    String idPrefix() default "";

    String message();

     enum Type{
        VOLTAGE,
        TEMPERATURE;
    }

}
